Skip to content

feat(giveback): redesign contribution summary as flat stat card#6249

Merged
idoshamun merged 1 commit into
mainfrom
feat/giveback-contribution-summary
Jun 28, 2026
Merged

feat(giveback): redesign contribution summary as flat stat card#6249
idoshamun merged 1 commit into
mainfrom
feat/giveback-contribution-summary

Conversation

@idoshamun

@idoshamun idoshamun commented Jun 28, 2026

Copy link
Copy Markdown
Member

Changes

First step of importing the giveback design pass from #6247, broken into small reviewable PRs.

Redesigns GivebackContributionSummary (shown above the action catalog on the "Take action" tab) into a flat stat card:

  • Rounded-square avatar (matching daily.dev's app tiles) with a small level badge tucked in its corner
  • Money unlocked is now the hero number (typo-large-title, success green)
  • Drops the "Your contribution" label, the floating ring, and the next-reward / "to go" block
  • "Actions taken" + the how-it's-counted info tooltip move beside the number
  • Loading skeleton now matches the flat layout so it doesn't flash card → row when data lands

Scope

Internal-only: the component takes no props, so the page wiring is untouched. This keeps the PR safe to ship ahead of the rest of the redesign (giveback is disabled for all users).

No Storybook story or spec exists for this component on main; left out to keep the PR tight (a story would pull in the larger giveback mocks infra).

Verification

  • ✅ Strict typecheck on changed files
  • ✅ ESLint clean
  • ✅ Shared + webapp tsc: no new errors (the 27 pre-existing errors are unrelated, in useUserExperienceForm.spec.tsx)

Preview domain

https://feat-giveback-contribution-summa.preview.app.daily.dev

Rounded-square avatar with a corner level badge and the money unlocked
as the hero number, replacing the labeled card with a next-reward block.
Internal-only change: the component takes no props, so the page wiring is
untouched.
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jun 28, 2026 11:38am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Jun 28, 2026 11:38am

Request Review

@idoshamun idoshamun merged commit 70d9857 into main Jun 28, 2026
12 checks passed
@idoshamun idoshamun deleted the feat/giveback-contribution-summary branch June 28, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant